package com.gogo.mall.entity;

import com.gogo.mall.dto.Shop;

import java.io.Serializable;
import java.util.Date;

/**
 * (QyOrder)实体类
 *
 * @author yangjing
 * @since 2021-09-02 09:35:31
 */
public class QyOrder implements Serializable {
    private static final long serialVersionUID = -24008897850062779L;

    private Integer id;

    private Long ordernum;

    private String attrid;

    private String number;

    private String price;

    private String allprice;

    private String time;
    /**
     * 1表示微信2表示支付宝
     */
    private String paytype;

    private String paytime;
    /**
     * 物流
     */
    private String logistics;

    private String logisticsprice;

    private String logisticsnum;
    /**
     * 1表示待支付2表示待发货3订单完成4已取消
     */
    private Object status;

    private String uid;

    private String message;

    private String username;

    private String telphone;

    private String city;

    private String address;
    /**
     * 取消原因
     */
    private String cause;

    private Shop shop;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Long ordernum) {
        this.ordernum = ordernum;
    }

    public String getAttrid() {
        return attrid;
    }

    public void setAttrid(String attrid) {
        this.attrid = attrid;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAllprice() {
        return allprice;
    }

    public void setAllprice(String allprice) {
        this.allprice = allprice;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public String getPaytime() {
        return paytime;
    }

    public void setPaytime(String paytime) {
        this.paytime = paytime;
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics;
    }

    public String getLogisticsprice() {
        return logisticsprice;
    }

    public void setLogisticsprice(String logisticsprice) {
        this.logisticsprice = logisticsprice;
    }

    public String getLogisticsnum() {
        return logisticsnum;
    }

    public void setLogisticsnum(String logisticsnum) {
        this.logisticsnum = logisticsnum;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public Shop getShop() {
        return shop;
    }

    @Override
    public String toString() {
        return "QyOrder{" +
                "id=" + id +
                ", ordernum=" + ordernum +
                ", attrid='" + attrid + '\'' +
                ", number='" + number + '\'' +
                ", price='" + price + '\'' +
                ", allprice='" + allprice + '\'' +
                ", time='" + time + '\'' +
                ", paytype='" + paytype + '\'' +
                ", paytime='" + paytime + '\'' +
                ", logistics='" + logistics + '\'' +
                ", logisticsprice='" + logisticsprice + '\'' +
                ", logisticsnum='" + logisticsnum + '\'' +
                ", status=" + status +
                ", uid='" + uid + '\'' +
                ", message='" + message + '\'' +
                ", username='" + username + '\'' +
                ", telphone='" + telphone + '\'' +
                ", city='" + city + '\'' +
                ", address='" + address + '\'' +
                ", cause='" + cause + '\'' +
                ", shop=" + shop +
                '}';
    }
}
